package com.bgrc.hubu12305.service.impl;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bgrc.hubu12305.dao.AuthRelationDao;
import com.bgrc.hubu12305.entity.AuthRelationEntity;
import com.bgrc.hubu12305.service.AuthRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 包名:com.bgrc.hubu12305.service.impl
 * 用户:86182
 * 时间:20211211:542021/12/11
 */
@Service
public class AuthRelationServiceImpl extends ServiceImpl<AuthRelationDao, AuthRelationEntity> implements AuthRelationService {
    @Autowired
    private AuthRelationDao authRelationDao;
    @Override
    public long getRoleId(String userId) {
        long roleId = authRelationDao.getRoleId(userId);
        return roleId;
    }
}
